//@ts-nocheck
import {createDOM} from '../react/vdom';
function render(element, container){
  console.log('render');
  //1. 把虚拟DOM 变成真实DOM
  const dom = createDOM(element);

  //2. 把真实DOM挂载到container上
  container.appendChild(dom);
}

export default {
  render
}
